package com.ytzl.itrip.service.impl;

import com.ytzl.itrip.common.RedisAPI;
import com.ytzl.itrip.dao.ItripUserMapper;
import com.ytzl.itrip.service.MailService;
import com.ytzl.itrip.service.SmsService;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.annotation.Resource;

/**
 * Created by sam on 2018/2/7.
 */
@Component
public class BaseService {

    //统一前缀
    public final String PREFIX_ACTIVATION = "activation:";
    public final String PREFIX_TOKEN = "token:";


    @Resource
    protected RedisAPI redisAPI;

    @Resource
    protected MailService mailService;

    @Resource
    protected SmsService smsService;

    @Resource
    protected ItripUserMapper itripUserMapper;
}
